package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.CutomerDrain;
import cn.wolfcode.crm.query.FailPlanListQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ICutomerDrainService {
    int deleteByPrimaryKey(Long id);

    int insert(CutomerDrain record);

    CutomerDrain selectByPrimaryKey(Long id);

    List<CutomerDrain> selectAll();

    int updateByPrimaryKey(CutomerDrain record);

    PageResult list(FailPlanListQueryObject qo);

    void lossOfCustomers(CutomerDrain obj);
}
